package com.itstyle.seckill.config;

import com.itstyle.seckill.common.ago.entity.Seckill;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: <br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/10/10 17:37 <br>
 * @Author: <a href="zhengyt@drore.com">郑永涛</a>
 */
@Configuration
public class ConfigurationOne {

    @Bean("one")
    public Seckill getA(){
        Seckill seckill = new Seckill();
        seckill.setName("one");
        return seckill;
    }
}